package com.miracle.blog.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.miracle.blog.dto.CategoryBackDTO;
import com.miracle.blog.dto.CategoryOptionDTO;
import com.miracle.blog.entity.Category;
import com.miracle.blog.vo.ConditionVO;
import com.miracle.blog.vo.PageResult;

import java.util.List;

public interface CategoryService extends IService<Category> {
    List<CategoryOptionDTO> listCategoriesBySearch(ConditionVO conditionVO);

    PageResult<CategoryBackDTO> listBackCategories(ConditionVO condition);
}
